package components.items;

import java.awt.Color;

import com.uqbar.vainilla.appearances.Circle;
import components.PacmanComponent;
import components.pacman.Pacman;
import components.scenes.MainGameScene;

public abstract class Pickupeable extends PacmanComponent {

	public Pickupeable(int aDiameter, int aHeight, double x, double y) {
		super(aDiameter, aHeight, x, y);
		this.setAppearance(new Circle(Color.RED, aDiameter));
	}

	public Pickupeable(int aDiameter, int aHeight){
		this(aDiameter, aHeight, 0, 0);
	}
	
	public void onCollisionWithPacman(Pacman pacman){
		this.pickedUp();
	}

	protected abstract void pickedUp();
		
}
